package com.yobol.jgrowth.domain;

import java.util.Date;

public class Article {
    private Integer aid;

    private String name;

    private Integer uid;

    private Date createdTime;

    private String description;

    private Integer scannedCtr;

    private Integer favoriteCtr;

    private Integer collectedCtr;

    private Integer commentedCtr;

    private String content;

    public Article(){}

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getScannedCtr() {
        return scannedCtr;
    }

    public void setScannedCtr(Integer scannedCtr) {
        this.scannedCtr = scannedCtr;
    }

    public Integer getFavoriteCtr() {
        return favoriteCtr;
    }

    public void setFavoriteCtr(Integer favoriteCtr) {
        this.favoriteCtr = favoriteCtr;
    }

    public Integer getCollectedCtr() {
        return collectedCtr;
    }

    public void setCollectedCtr(Integer collectedCtr) {
        this.collectedCtr = collectedCtr;
    }

    public Integer getCommentedCtr() {
        return commentedCtr;
    }

    public void setCommentedCtr(Integer commentedCtr) {
        this.commentedCtr = commentedCtr;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}